#Makefile for Futures Trader
CC = g++
INC = -I../include
LIB = -lthosttraderapi
SRC = main.cpp CtpTraderSpi.cpp CSem.cpp
BIN = ../bin
CFLAGS = -g -Wall -m32 -fPIC
TARGET = TestTrader

#all:$(TARGET)
	#cp $(TARGET) $(BIN)
#$(TARGET):$(SRC)
#	$(CC)  $(INC) $(SRC) -L../lib $(LIB) -o $(TARGET)
#clean:
#	rm -f $(BIN)/* *.o $(TARGET)

T: main.cpp CtpTraderSpi.cpp CSem.cpp
	g++ -Wall -g -I../include main.cpp CtpTraderSpi.cpp CSem.cpp -L../lib -lthosttraderapi -o T
